package hcn.protocol.ods.returnVisit;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 *
 * @author lxy
 * @date 2019/8/22
 */
@XmlRootElement(name = "PrescriptionDrug")
public class PrescriptionDrugTemp implements Serializable {
    private String drugName;
    private String drugCode;
    private String specifications;
    private String unit;
    private String dose;
    private String doseUnit;
    private String usageCode;
    private String usageName;
    private String frequencyCode;
    private String frequencyName;
    private String quantity;
    private String decoctionCode;
    private String decoctionName;
    private String takeDays;
    private String factoryName;
    private String footNoteCode;
    private String footNoteName;
    private String price;
    private String numberOfPackets;

    @XmlElement(name = "HerbalFootNote")
    public String getFootNoteCode() {
        return footNoteCode;
    }

    public void setFootNoteCode(String footNoteCode) {
        this.footNoteCode = footNoteCode;
    }

    @XmlElement(name = "HerbalFootNoteName")
    public String getFootNoteName() {
        return footNoteName;
    }

    public void setFootNoteName(String footNoteName) {
        this.footNoteName = footNoteName;
    }

    @XmlElement(name = "DrugName")
    public String getDrugName() {
        return drugName;
    }

    public void setDrugName(String drugName) {
        this.drugName = drugName;
    }

    @XmlElement(name = "DrugsNumber")
    public String getDrugCode() {
        return drugCode;
    }

    public void setDrugCode(String drugCode) {
        this.drugCode = drugCode;
    }

    @XmlElement(name = "DrugSpecifications")
    public String getSpecifications() {
        return specifications;
    }

    public void setSpecifications(String specifications) {
        this.specifications = specifications;
    }

    @XmlElement(name = "DrugstoreUnit")
    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    @XmlElement(name = "OnceDosage")
    public String getDose() {
        return dose;
    }

    public void setDose(String dose) {
        this.dose = dose;
    }

    @XmlElement(name = "DosageUnit")
    public String getDoseUnit() {
        return doseUnit;
    }

    public void setDoseUnit(String doseUnit) {
        this.doseUnit = doseUnit;
    }

    @XmlElement(name = "DrugUsePathwaysName")
    public String getUsageName() {
        return usageName;
    }

    public void setUsageName(String usageName) {
        this.usageName = usageName;
    }

    @XmlElement(name = "DrugUsePathwaysCode")
    public String getUsageCode() {
        return usageCode;
    }

    public void setUsageCode(String usageCode) {
        this.usageCode = usageCode;
    }

    @XmlElement(name = "DrugUsingRateName")
    public String getFrequencyName() {
        return frequencyName;
    }

    public void setFrequencyName(String frequencyName) {
        this.frequencyName = frequencyName;
    }

    @XmlElement(name = "DrugUsingRate")
    public String getFrequencyCode() {
        return frequencyCode;
    }

    public void setFrequencyCode(String frequencyCode) {
        this.frequencyCode = frequencyCode;
    }

    @XmlElement(name = "DrugSendNumber")
    public String getQuantity() {
        return quantity;
    }

    public void setQuantity(String quantity) {
        this.quantity = quantity;
    }

    @XmlElement(name = "HerbalMedicineDecoctionName")
    public String getDecoctionName() {
        return decoctionName;
    }

    public void setDecoctionName(String decoctionName) {
        this.decoctionName = decoctionName;
    }

    @XmlElement(name = "HerbalMedicineDecoction")
    public String getDecoctionCode() {
        return decoctionCode;
    }

    public void setDecoctionCode(String decoctionCode) {
        this.decoctionCode = decoctionCode;
    }

    @XmlElement(name = "MedicineDays")
    public String getTakeDays() {
        return takeDays;
    }

    public void setTakeDays(String takeDays) {
        this.takeDays = takeDays;
    }

    @XmlElement(name = "DrugUnitPrice")
    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    @XmlElement(name = "DrugProductionPlace")
    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }

    @XmlElement(name = "PiecesChineseMedicineAgentNumb")
    public String getNumberOfPackets() {
        return numberOfPackets;
    }

    public void setNumberOfPackets(String numberOfPackets) {
        this.numberOfPackets = numberOfPackets;
    }

    @Override
    public String toString() {
        return "PrescriptionDrugTemp{" +
                "drugName='" + drugName + '\'' +
                ", drugCode='" + drugCode + '\'' +
                ", specifications='" + specifications + '\'' +
                ", unit='" + unit + '\'' +
                ", dose='" + dose + '\'' +
                ", doseUnit='" + doseUnit + '\'' +
                ", usageCode='" + usageCode + '\'' +
                ", usageName='" + usageName + '\'' +
                ", frequencyCode='" + frequencyCode + '\'' +
                ", frequencyName='" + frequencyName + '\'' +
                ", quantity='" + quantity + '\'' +
                ", decoctionCode='" + decoctionCode + '\'' +
                ", decoctionName='" + decoctionName + '\'' +
                ", takeDays='" + takeDays + '\'' +
                ", factoryName='" + factoryName + '\'' +
                ", footNoteCode='" + footNoteCode + '\'' +
                ", footNoteName='" + footNoteName + '\'' +
                ", price='" + price + '\'' +
                ", numberOfPackets='" + numberOfPackets + '\'' +
                '}';
    }
}
